package com.ifast.integral.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@TableName("TB_INTEGRAL_GOODS")
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class IntegralGoods implements Serializable { 
   
	/**
	 * 
	 */
	private static final long serialVersionUID = -6007112996647817576L;

	/** 主键 */
    @TableId(type= IdType.UUID)
    private String id;
    
    private String title             ;  // 标题
    private Integer top              ;  // 是否置顶:1.置顶 2.不置顶
    private String  classify        ;   // 商品分类  
    private Integer verify           ;  //	是否审核：1.未发布 2.已发布
    private Integer delflag           ;  //	删除 0正常1删除
    private String  content        	;   //回答
    
    private String picture1			;
    private String picture2			;
    private String picture3			;
    private String picture4			;
    private String picture5			; 
    
    
    private String 	dwCode       ;   //所属单位         
    private String 	userId			; 
    private Integer sort        	;   //排序       
    private Integer nian;
	private Integer yue;
	private Integer ri;
	
    @Builder.Default
    @TableField(exist = false)
    private int pageSize = 10;
    @Builder.Default
    @TableField(exist = false)
    private  int pageNo = 1;
    
    /**创建时间*/
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    /**创建人*/
    @TableField(fill = FieldFill.INSERT)
    private String createId;
    /**创建人*/
    @TableField(fill = FieldFill.UPDATE)
    private String updateId;
    /**创建人*/
    @TableField(fill = FieldFill.UPDATE)
    private String updateTime;
     
}
